home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
tsbat45.zip
/
TSBAT.NWS
< prev
next >
Wrap
Text File
|
1994-05-31
|
39KB
|
700 lines
University of Vaasa, Finland, Sun SPARCstation IPX garbo.uwasa.fi
has a large collection of PD and shareware PC programs available by
anonymous ftp or mail server. The file /pc/ts/0news-ts contains news
about the TS-programs in the /pc/ts directory (in reverse order).
This text, which you now have, is an edited extract from the
0news-ts file (and old the feedback /pc/ts/fback028.zip file). (Also
see the tspost*.txt (* = 01,02,...) at garbo.uwasa.fi for additional
feedback and information.)
..................................................................
Prof. Timo Salmi Co-moderator of comp.archives.msdos.announce
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi BBS +(358)-61-3170972; FIN-65101, Finland
...................................................................
Tue 31-May-94: I have updated my collection of useful batches and
batch tricks. It is now garbo.uwasa.fi:/pc/ts/tsbat45.zip.
- Added a list of user feedback to the TSBAT.INF file
- Added item 39) Getting the file basename
- Added optional batch enhancers:
BASENAME.EXE Extract file name from full name
BASEPATH.EXE Extract path name from full name
BASEXTEN.EXE Extract file extension from name
- Added
DOSTRICK.TXT Assorted MsDos tricks and tips
Sat 15-Jan-94: I have updated my collection of useful batches and
batch tricks. It is now garbo.uwasa.fi:/pc/ts/tsbat44.zip. Added the
following items to batricks.txt:
37) Traversing a directory tree
Added an related demonstration batch SWEEP.BAT.
38) Echoing the redirection symbol
Rewrote and added material to
24) Redirecting a batch file's output
30) How to obtain the MsDos version into an environment variable
Updated
PATH.TXT "How to beat the 127 byte limit"
SCANZ.BAT "Scan for viruses (incl. execomp)"
Sat 8-May-93: I have updated by collection of useful batches and
batch tricks to be garbo.uwasa.fi:/pc/ts/tsbat43.zip by adding the
following items to batricks.txt.
31) Finding out the number of regular files on a drive
32) Augmenting line numbers to a text file
33) Storing and returning to the original directory (push and pop)
34) Enticing the current date into an environment variable
35) Identifying the individual PC
36) For loop and redirection quirks
I have updated by adding a second method to
7) Convert a parameter to uppercase
Also a few minor updates to some of the batches.
Tue 2-Mar-93: I have updated by collection of useful batches and
batch tricks to be garbo.uwasa.fi:/pc/ts/tsbat42.zip by adding the
following items to batricks.txt.
26) A simple trick to "disable" a drive
27) Sending an escape sequence to the printer
28) Creating a random string
29) Finding out the length of a string
30) How to obtain the MsDos version into an environment variable
Added GFIND.BAT "Combine Garbo index files info". It is a
specialized batch for combining the information from Garbo MsDos FTP
archives file index files INDEX.ZIP, _dir.zip and _file.zip. GFIND
is also available in Unix format as garbo.uwasa.fi:/pc/ts/gfind
Sat 30-Jan-93: I have updated by collection of useful batches and
batch tricks.
Added
SUBS.BAT Make current dir a subst drive
Updated
BATRICKS.TXT Assorted batch tricks, plus added
24. Redirecting a batch file's output
25. Testing for environment space sufficiency
PROMPT.TXT Tips on prompt usages with ansi
Sat 19-Dec-92: Update garbo.uwasa.fi:/pc/ts/tsbat40.zip of my
collection of useful batch files and batch tips & tricks. Added
BDIR.BAT "Bare list & count of directories"
HEX.BAT "Add and subtract hexadecimal values"
PORTS.BAT "Display port base I/O addresses"
Updated and rewrote
BATRICKS.TXT "Assorted batch tricks"
Corrected
COLOR.BAT "Set screen color attributes"
It left on a tmp_ environment value. It shouldn't have.
Mon 26-Oct-92: I have again updated my collection of useful batch
files and batch tricks. It is now garbo.uwasa.fi:/pc/ts/tsbat39.zip.
Added COLORMAP.BAT "Ansi screen color esc. seq. map". I adapted
the idea from PC Computing October 1992. The difference in my
adaptation is that it displays the escape sequence codes you need to
induce the colors on the map. Furthermore, I do not use any
environment variables.
Added TOUCH.BAT "Touch a file's datetime stamp". It is quite
amazing the thing one can actually do with bare batch files using
the tricks trade. TOUCH.BAT is a good example of this.
Added EDIT.BAT "A truly trivial text editor". Appends text to a
text file from the con device, that is the keyboard.
Made some enhancements to BATRICKS.TXT "Assorted batch tricks"
and added the following item:
21) Testing if a file name includes a path
Sun 20-Sep-92: I have again updated my collection of useful batch
files and batch tricks. It is now garbo.uwasa.fi:/pc/ts/tsbat38.zip.
WEEKLY.BAT "Run program(s) once a week" is a new batch in my
collection. If you want to run a program once a week when you reboot
your computer, put
CALL WEEKLY Weekday YourApplicationName [Param1] [Param2] [...]
in your autoexec.bat file. Only one application, or one set of
applications, can be run on the same weekday with this batch. The
application can be a different one for each weekday.
Examples: CALL WEEKLY Mon YourApplication
CALL WEEKLY Tue echo Time to back up^G^G^G
CALL WEEKLY Fri call YourBatchOfManyPrograms
No auxiliary programs outside the normal MsDos commands have been
used in WEEKLY.BAT. Not easy, but it can be done.
DAILY.BAT "Run a program only once a day" which you call call
from your autoexec.bat relies on the MsDos external FC command. The
output of this command has been rewritten in MsDos 5.0. DAILY.BAT
did therefore not work for MsDos version 5.0. I have consequently
rewritten DAILY.BAT to comply also with the MsDos 5.0 version. A
similar amendment has been done to VIRUS.BAT "Another batch-based
virus test".
BOOT.BAT "Choose your boot configuration" now utilizes nu
NOBOOT.EXE from garbo.uwasa.fi:/pc/ts/tstsr12.zip (or whichever is
the current version number) if it is available. This is to prevent
the user from accidentally being too hasty about rebooting while the
batch is still running.
LASTBOOT.BAT "Show date + time of previous boot" streamlined to
show just the date and time without the confusion of referring to
the previous boot with "Current date is" which MsDos date (and time)
produce.
PROMPT.TXT "Tips on prompt usages with ansi" has some additional
information on key redefinitions.
BATRICKS.TXT added the following new items:
19. Utilizing the subst command in paths
20. How to run a batch once a week (testing for the weekday)
Some other, minor amendments.
Sun 30-Aug-1992: I have updated my collection of useful batch files
and batch tricks. It is now garbo.uwasa.fi:/pc/ts/tsbat37.zip.
BATRICKS.TXT "Assorted batch tricks" now also explains how to
extract the extension from a file name, how to prevent breaking a
batch, how to avoid auxiliary batches, and much more.
PUSHDIRE.BAT "Non-resident push directory" has been totally
rewritten and is now self-contained. The external auxiliary program
SETPUSHD.EXE is no longer needed, and has been omitted from the
collection. The companion program POPDIRE.BAT has been brought up to
date. Both the batches can take an /s (show) switch. See the remarks
within the batches for more information.
DELPATH.BAT "Delete a directory from the path" has been rewritten
so that it creates the auxiliary file that it needs as a temporary
file. Thus SETVAR.BAT is not longer needed in beforehand and has
been eliminated from the collection.
UNPACK.BAT "Unpack-test-view any archivetype" does not need, nor
allow an extension in the archive name because it know how to detect
the type of the archive. The batch now first checks that the user
has not mistakenly given an extension. UNPACK.BAT also treats the
other error situations in a more informative manner than before.